﻿using AutoMapper;
using Che.Domain.Entity.EventsBut;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Che.AppService.AppService.AppFootball
{
    public class Appfootball : AppIfootball
    {
        private readonly IMapper mapper;
        private readonly Che. Domain.repository.Football.IFootball football;
        public Appfootball(Che.Domain.repository.Football.IFootball football, IMapper mapper) {
         this.football = football;
            this.mapper = mapper;
         }

        public Task<bool> addFottball(Football football)
        {
            return this.football.addFottball(football);
        }

        public Task<List<Footballquest>> foootballquest()
        {
            return football.foootballquest();
        }

        public Task<List<Footballquest>> QustFottball()
        {
            return football.QustFottball();
        }
    }
}
